package com.example.filemonitor.book.entity;


import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Attachment {

    @JsonProperty("content")
    private String content;


    @JsonProperty("content_type")
    private String contentType;


    @JsonProperty("modified")
    private String modified;

    @JsonProperty("date")
    private String date;

    @JsonProperty("language")
    private String language;


    @JsonProperty("content_length")
    private Integer contentLength;


    @JsonIgnore
    private String keywords;

    @JsonIgnore
    private String format;

    @JsonIgnore
    private String author;

    @JsonIgnore
    private String modifier;

    @JsonIgnore
    private String publisher;

    @JsonIgnore
    @JsonProperty("print_date")
    private String printDate;

    @JsonIgnore
    private String title;

    @JsonIgnore
    @JsonProperty("creator_tool")
    private String creatorTool;
}
